#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QMouseEvent>

namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QStringList, QWidget *parent = nullptr);
    ~Dialog();

private:
    Ui::Dialog *ui;
    void showEvent(QShowEvent*);
    bool isInitialization = false;
    void fnInitFormSlots();
    void mousePressEvent(QMouseEvent *e);
    void mouseMoveEvent(QMouseEvent *e);
    void keyPressEvent(QKeyEvent *e);
    int msgtye = 0;
    QPoint point;
    QString QuestionResponse = "";
};

#endif // DIALOG_H
